﻿/******************************************************************
** 文 件 名: BD_Contract.cs
** Copyright (c) 2010-2012 Honestysoft (GuangZhou) Co.,LTD
** 创 建 人: 此代码由生成器自动生成
** 创建日期: 2012-5-23 17:37:09
** 描    述: 基础资料-合同信息的实体类
** 版    本: 2.0.0.0
** 修改描述:
** 修 改 人:
** 修改日期:
******************************************************************/
using System;
using System.Data;
using Honestysoft.BaseObject;

namespace Honestysoft.Financing.Model
{
	[Serializable]
	[Table("BD_Contract","ID")]
	public partial class BD_Contract : IEntity
    {			
		/// <summary>
        /// 标识
        /// </summary>
		[Column("ID", DbType.AnsiString, 36, false)]
		public string ID
		{
			get;
			set;
		}
		/// <summary>
        /// 项目代码
        /// </summary>
		[Column("ProjectID", DbType.AnsiString, 36, false)]
		public string ProjectID
		{
			get;
			set;
		}
		/// <summary>
        /// 合同类别
        /// </summary>
		[Column("ContractCategory", DbType.AnsiString, 8, false)]
		public string ContractCategory
		{
			get;
			set;
		}
		/// <summary>
        /// 合同编号
        /// </summary>
		[Column("Code", DbType.AnsiString, 200, false)]
		public string Code
		{
			get;
			set;
		}
		/// <summary>
        /// 合同名称
        /// </summary>
		[Column("Name", DbType.AnsiString, 200, false)]
		public string Name
		{
			get;
			set;
		}
		/// <summary>
        /// 签订日期
        /// </summary>
		[Column("SignDate", DbType.DateTime, 8, true)]
		public DateTime? SignDate
		{
			get;
			set;
		}
		/// <summary>
        /// 合同总价
        /// </summary>
		[Column("TotalPrice", DbType.Decimal, 13, false)]
		public decimal TotalPrice
		{
			get;
			set;
		}
		/// <summary>
        /// 变更后总价
        /// </summary>
		[Column("ChangePrice", DbType.Decimal, 13, true)]
		public decimal? ChangePrice
		{
			get;
			set;
		}
		/// <summary>
        /// 前期累计拨付资金
        /// </summary>
		[Column("Stage", DbType.Decimal, 13, false)]
		public decimal Stage
		{
			get;
			set;
		}
		/// <summary>
        /// 是否暂定金额
        /// </summary>
		[Column("IsZD", DbType.Boolean, 1, false)]
		public bool IsZD
		{
			get;
			set;
		}
		/// <summary>
        /// 包含预留金
        /// </summary>
		[Column("ReserveAmount", DbType.Decimal, 13, true)]
		public decimal? ReserveAmount
		{
			get;
			set;
		}
		/// <summary>
        /// 施工单位
        /// </summary>
		[Column("Contractor", DbType.AnsiString, 36, false)]
		public string Contractor
		{
			get;
			set;
		}
		/// <summary>
        /// 备注
        /// </summary>
		[Column("Remark", DbType.AnsiString, 16, true)]
		public string Remark
		{
			get;
			set;
		}
		/// <summary>
        /// 创建人
        /// </summary>
		[Column("Creator", DbType.AnsiString, 36, false)]
		public string Creator
		{
			get;
			set;
		}
		/// <summary>
        /// 创建时间
        /// </summary>
		[Column("CreateTime", DbType.DateTime, 8, false)]
		public DateTime CreateTime
		{
			get;
			set;
		}
		/// <summary>
        /// 初始化已确认
        /// </summary>
		[Column("IsInit", DbType.Boolean, 1, false)]
		public bool IsInit
		{
			get;
			set;
		}
		/// <summary>
        /// 确认人
        /// </summary>
		[Column("ConfirmUser", DbType.AnsiString, 36, true)]
		public string ConfirmUser
		{
			get;
			set;
		}
		/// <summary>
        /// 确认时间
        /// </summary>
		[Column("ConfirmTime", DbType.DateTime, 8, true)]
		public DateTime? ConfirmTime
		{
			get;
			set;
		}
		/// <summary>
        /// 意见
        /// </summary>
		[Column("ConfirmOpinion", DbType.AnsiString, 16, true)]
		public string ConfirmOpinion
		{
			get;
			set;
		}
		/// <summary>
        /// 付款条件
        /// </summary>
		[Column("PaymentCondition", DbType.AnsiString, 16, true)]
		public string PaymentCondition
		{
			get;
			set;
		}
		/// <summary>
        /// 开户银行
        /// </summary>
		[Column("BankName", DbType.AnsiString, 200, true)]
		public string BankName
		{
			get;
			set;
		}
		/// <summary>
        /// 收款账号
        /// </summary>
		[Column("BankAccount", DbType.AnsiString, 200, true)]
		public string BankAccount
		{
			get;
			set;
		}
		/// <summary>
        /// 委托收款单位
        /// </summary>
		[Column("DBankCompanyID", DbType.AnsiString, 36, true)]
		public string DBankCompanyID
		{
			get;
			set;
		}
    }
}	
